<?php echo "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n";
echo "<rows>";
echo "<page>", $page, "</page>";
echo "<total>", $total, "</total>";
foreach ($items as $item) : ?>
	<row id="<?=$item->id?>">
	<? foreach ($fields as $field) : ?>
		<cell><![CDATA[<?=$field->put_in_cell($item)?>]]></cell>
	<? endforeach; ?>
	</row>
<? endforeach; ?>
</rows>
